package edu.pdx.ece510.finalproject.pocketmanager;

import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
import android.app.Activity;
import android.view.Menu;
import android.content.Intent;


public class AddExpenses extends Activity {

	private ListView list1;
	private Button addbutton;
	private int numberofitems;
	private TextView getname;
	
	String[] set;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.add_expenses);
		/*final CustomList adapter = new CustomList(AddExpenses.this, set);
		list1=(ListView)findViewById(R.id.listView10);
		list1.setAdapter(adapter);
		getname = (TextView)findViewById(R.id.NewNameTextField);
		numberofitems = adapter.getCount();
		
		addbutton = (Button)findViewById(R.id.AddButton);
		addbutton.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				set[numberofitems] = getname.toString();
				adapter.insert(getname.toString(), numberofitems);				
			}
		});*/	

	}

}
